/**
 * Copyright 2023 bejson.com
 */
package org.example.bean;



public class JsonGamePos {

    private float x;
    private float y;
    private float z;

    public void setX(float x) {
        this.x = x;
    }

    public float getX() {
        return x;
    }

    public void setY(float y) {
        this.y = y;
    }

    public float getY() {
        return y;
    }

    public void setZ(float z) {
        this.z = z;
    }

    public float getZ() {
        return z;
    }

    public JsonGamePos() {

    }

    public JsonGamePos(float x, float y, float z) {
        this.x = x;
        this.y = y;
        this.z = z;
    }

    /**
     * 只构建长宽
     * @param x
     * @param z
     */
    public JsonGamePos(float x, float z) {
        this.x = x;
        this.z = z;
    }




    @Override
    public boolean equals(Object obj) {
        return super.equals(obj);
    }

    @Override
    public String toString() {
        return "JsonGamePos{" +
                "x=" + x +
                ", y=" + y +
                ", z=" + z +
                '}';
    }
}